import AppConstants from "../framework/scripts/AppConstants"
import PanelBase from "../framework/scripts/view/PanelBase"
import Tip from "./core/Tip"


export default class PanelYellow extends PanelBase {
    public skinPath: string = 'PanelYellow'
    public panelMaskStyle: number = AppConstants.panelMaskStyle.Close
    public panelShowStyle: number = AppConstants.panelShowStyle.DownToCenter

    public easingShow: any = cc.easeBackOut()
    public easingHide: any = cc.easeBackIn()


    protected onButtonClick(button: cc.Node) {
        if (button.name == 'BtnTip') {
            Tip.show('这是黄色面板的Tip')
        }
    }
}
